Python Programming for Biology: Bioinformatics and Beyond by Tim J. Stevens & Wayne Boucher
Author:Tim J. Stevens & Wayne Boucher [Stevens, Tim J.]
Language: eng
Format: azw3, epub, pdf
Publisher: Cambridge University Press
Published: 2015-02-28T05:00:00+00:00
Using the HTSeq library
Now we come to actually using the result of a short-read to genome alignment to illustrate how the results may be analysed. For this section we will be making use of the HTSeq library, which is not a standard Python module, but which should be downloaded and installed separately.16 All of the following could be done with pure Python and its standard libraries, but by using this extra module we will be making the job much easier, and this will hopefully result in the ability to do more science. Also, we could consider using other packages like Pysam,17 which can read genomic alignments, though overall HTSeq provides more diverse functionality.
To use the HTSeq library, once it is properly installed, we simply import it into our Python programs. The imports give the ability to read several bioinformatics file formats: FASTQ for the sequence reads, SAM for the genome alignment results and GFF files which give the genome annotation information (e.g. where the genes lie in the sequence), to which we can relate the high-throughput sequencing data. The GenomicArray and GenomicInterval imports are object classes that we will use to hold the sequence information in an efficient and easily accessible manner. Next some imports are made to make graphs with the matplotlib library and the usual NumPy module to handle numeric arrays with which we can do the mathematics.
from HTSeq import FastqReader, SAM_Reader, GFF_Reader from HTSeq import GenomicArray, GenomicInterval from matplotlib import pyplot from numpy import array
Download
Python Programming for Biology: Bioinformatics and Beyond by Tim J. Stevens & Wayne Boucher.epub
Python Programming for Biology: Bioinformatics and Beyond by Tim J. Stevens & Wayne Boucher.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9914)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9795)
The Mikado Method by Ola Ellnestam Daniel Brolund(9777)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8295)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7778)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Windows APT Warfare by Sheng-Hao Ma(6821)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6553)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6418)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6413)
Kotlin in Action by Dmitry Jemerov(5062)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4316)
Functional Programming in JavaScript by Mantyla Dan(4038)
Solidity Programming Essentials by Ritesh Modi(3993)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3785)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3726)
The Ultimate iOS Interview Playbook by Avi Tsadok(3702)
